﻿using System;
using CQRS.Reports;

namespace CQRS.Sample.Domain.ReportDtos
{
    public class PlaneEmergencyReport : Report
    {
        public PlaneEmergencyReport(Guid id, string flightNumber, string airportName, string crewCommander,
                                    DateTime emergencyDate, string weatherConditions)
            : base(id)
        {
            FlightNumber = flightNumber;
            AirportName = airportName;
            CrewCommander = crewCommander;
            EmergencyDate = emergencyDate;
            WeatherConditions = weatherConditions;
        }

        public string FlightNumber { get; set; }
        public string AirportName { get; set; }
        public string CrewCommander { get; set; }
        public DateTime EmergencyDate { get; set; }
        public string WeatherConditions { get; set; }
    }
}